package org.liquidByte.simpleChat.dto;

import java.io.Serializable;

public class Message implements Serializable{
	
	
	private static final long serialVersionUID = -744926241525832068L;
	private String description;

	public Message(String description) {
		if(description == null || description == ""){
			throw new NullPointerException("description is null");
		}
		else{
			this.description = description;
		}
	}
	
	public String getDescription() {
		return description;
	}	
	
}
